package com.station.administrators.dao;

import com.open.capacity.common.model.JournalismModel;

import java.util.List;

/**
 * @author YangGang
 * @Title:
 * @Description: TODO
 * @date 2021/6/29/10:33
 */
public interface JournalismDao {
    void add(JournalismModel journalism);

    void update(JournalismModel journalism);

    void delete(Long id);

    JournalismModel findById(Long id);

    List<JournalismModel> findAll(JournalismModel journalism);

    Integer getCount(JournalismModel journalism);
}
